package org.ssyvsse.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class SampleController {

    @RequestMapping("/hello")
    @CrossOrigin("http://localhost:8080")
    public String hello( ){
        return "Hello World";
    }

}
